FUNCTION

list.remove_at

function remove_at(index: integer): T

Remove and return the element at the specified index. The indices of elements occurring after the specified index decrease by 1, and the size of this list decreases by 1.

Parameters

  • index — the index of the element to remove

Returns

the element that was at the specified index

Throws

  • exception — if the index is out of bounds

Since

0.9.0

© 2026 Chromia